<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>安装信息回报</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <link rel="stylesheet" href="../../../css/wx/mui.min.css">
    <link rel="stylesheet" href="../../../css/wx/app.css">
    <link rel="stylesheet" href="../../../css/wx/style.css" />
    <link rel="stylesheet" href="../../../css/wx/wx-iconfont.css" />
    <script type="text/javascript">
        var pageConfig = {
            jss: ["app/gwat600/gwat600_01"],
            cb: function(o) {

                // 不影响初始页面的js, 可以延迟引入
                require(['wx-iconfont'], $.noop);

                app.requireCss(['css/wx/icons-extra', 'css/wx/animate.min'], doc);

            }
        };
    </script>
    <script data-main="../../../js/wx/public/config" src="../../../js/require.js"></script>
    <style>
        .mui-content {
            padding: 0;
        }
        .iconfont{
            font-size: 32px !important;
            top: -7px !important;
        }
    </style>

</head>

<body>
<!--list-->
<div id="gwat600_01" class="mui-content wf-user-add jxs-add wf-listGoods wf-yshb">
    <div class="mui-scroll-wrapper wf-slider-bottom-nonSearch">
        <div class="mui-scroll">
            <form class="mui-input-group" style="margin-bottom: 10px;">
                <div class="mui-input-row">
                    <label>序列号</label>
                    <input type="text" @change="btn_GWCS019" class="mui-input-clear" placeholder="请输入序列号">
                    <span class="iconfont icon icon-061 posIcon wf-font-color" @tap.stop="btn_GWCS019"></span>
                </div>
            </form>
            <!--商品列表-->
            <div class="mui-card" v-for="good in item.list">
                <div class="mui-card-content">
                    <div class="mui-card-content-inner">
                        <div class="mui-row">
                            <div class="ef-leftBox">
                                <img :src="good.GWAM015 | goodsImgsUtils" />
                            </div>
                            <div class="ef-rightBox">
                                <p>序列号: {{good.GWCS019}}</p>
                                <p>客户名称: {{good.GWCS010}}</p>
                                <p>地址: {{good.GWCS020}}</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <form class="mui-input-group" style="margin-bottom: 10px;">
                <div class="mui-input-row">
                    <label>安装人员</label>
                    <input type="text" @change="btn_GWCV006" v-model="item.GWCV006" class="mui-input-clear" placeholder="请输入安装人员">
                    <span class="iconfont icon icon-061 posIcon wf-font-color" @tap.stop="btn_GWCV006"></span>
                </div>
                <div class="mui-input-row">
                    <label>安装日期</label>
                    <input type="date" v-model="item.GWCV009" class="mui-input-clear" placeholder="请输入安装日期">
                </div>
                <div class="mui-input-row wf-imageUpdates" style="padding-top: 10px;">
                    <label style="margin-top: 10px;">安装完工拍照上传</label>
                    <div class="wf-imageUpdate">
                        <div class="tackPoto">
                            <div class="div-autoline-boxDiv">
                                <template v-for="(img,inx) in item.GWCV010s">
                                    <div class="div-autoline-parent">
                                        <div class="child">
                                            <i @tap.stop="delimg2(inx)" class="mui-icon mui-icon-closeempty posIcon"></i>
                                            <img :src="img|orderImgsUtils">
                                        </div>
                                    </div>
                                </template>
                                <template v-for="(img,inx) in imgs">
                                    <div class="div-autoline-parent">
                                        <div class="child">
                                            <i @tap.stop="delimg(inx)" class="mui-icon mui-icon-closeempty posIcon"></i>
                                            <img :src="img.img">
                                        </div>
                                    </div>
                                </template>
                                <div v-show="item.GWCV010S.length + imgs.length < 9" @tap.stop="addImgs" class="div-autoline-parent">
                                    <div class="child start"><i class="icon iconfont icon-05"></i></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="mui-input-row wf-imageUpdates">
                    <label>备注</label>
                    <textarea placeholder="请输入备注" v-model="item.GWCV050"></textarea>
                </div>
            </form>
        </div>
    </div>

    <div class="navbar-mui flexl">
        <button type="button" class="mui-btn mui-btn-royal mui-btn-block wf-second-bg" @tap.stop="save">保存</button>
        <button type="button" class="mui-btn mui-btn-royal mui-btn-block wf-pulic-bg" @tap.stop="ok">回报</button>
    </div>

</div>

</body>

</html>